package com.haois.component.entity;

import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;

import java.util.Date;


/**
 * description
 *
 * @author RuiHaoZ on GCU
 * @date 2017/3/17 9:18
 */
public class SmsRep extends SendSmsResponse {
    private String phoneNumbers;
    private String phoneCode;
    private String type;
    private Date createTime;
    private String content;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public SmsRep() {
    }
    public SmsRep(SendSmsResponse sendSmsResponse, String phoneNumbers, String phoneCode){
        this.setBizId(sendSmsResponse.getBizId());
        this.setCode(sendSmsResponse.getCode());
        this.setMessage(sendSmsResponse.getMessage());
        this.setRequestId(sendSmsResponse.getRequestId());
        this.phoneCode = phoneCode;
        this.phoneNumbers = phoneNumbers;
    }

    public String getPhoneNumbers() {
        return phoneNumbers;
    }

    public void setPhoneNumbers(String phoneNumbers) {
        this.phoneNumbers = phoneNumbers;
    }

    public String getPhoneCode() {
        return phoneCode;
    }

    public void setPhoneCode(String phoneCode) {
        this.phoneCode = phoneCode;
    }
}
